package com.star.banner.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.star.banner.dto.BannerPageDTO;
import com.star.banner.entity.Banner;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.star.banner.vo.BannerVO;
import org.apache.ibatis.annotations.Param;

/**
 * 横幅 Mapper 接口
 *
 * @author lty
 */
public interface BannerMapper extends BaseMapper<Banner> {


    /**
     * 分页
     * @param page
     * @return
     */
    IPage<BannerVO> page(@Param("page")BannerPageDTO page);
}
